Skip to content

Retire add-issue-header.yml workflow - #158013

Merged
StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:add-issue-header.yml
Sep 29, 2026
Merged

StanFromIreland merged 2 commits into
python:mainfrom
StanFromIreland:add-issue-header.yml

Conversation

@StanFromIreland

Copy link
Copy Markdown
Member

This was added after the switch to issue templates (see #108033 (comment)), however, it's not ideal. It runs after the issue is opened, and edits the existing issue. This means users can run into conflicts if they edit their issue, it pollutes the edit history, and adds information that is already is available in the form of a label (although this is debatable, as the label is quite a bit smaller).

I propose we remove it, what do people think?

@zware

zware commented Sep 23, 2026

Copy link
Copy Markdown
Member

Added DNM label to ensure opportunity for discussion so it's not just Stan and I pushing this through in case someone is truly relying on this behavior.

@savannahostrowski savannahostrowski left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@webknjaz webknjaz left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Backport all the way too?

@zware

zware commented Sep 23, 2026

Copy link
Copy Markdown
Member

Backport all the way too?

IIUC it should be uncontroversial to remove this workflow from all non-main branches regardless of whether it is ultimately removed from main, as it should have no effect in non-default branches. In theory :)

@picnixz

picnixz commented Sep 24, 2026

Copy link
Copy Markdown
Member

Yeah this one is annoying. We are already editing the description when a PR is linked (and this causes races sometimes) but I always have edit races with this workflow!

@StanFromIreland

StanFromIreland commented Sep 24, 2026 •

Copy link
Copy Markdown
Member Author

If I understand correctly, this was originally added as people wanted another way to distinguish issues. To keep the titles that this workflow adds we could alternatively just add them to the issue template, like we have for the docs template:

label: "Documentation"

image

This avoids the workflow, and the races, which I think are the most significant issue.

CC @hugovk @AlexWaygood

@hugovk

hugovk commented Sep 24, 2026

Copy link
Copy Markdown
Member

It was added to maintain the status quo of the issue templates we used before issue forms.

@StanFromIreland Let's try that, please can you set up a demo in your fork?

@StanFromIreland

Copy link
Copy Markdown
Member Author

@hugovk hugovk left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From the demo: StanFromIreland/cpython-ci-testing#7

This can't maintain the status quo of big obvious title, but it'll do.

@StanFromIreland

Copy link
Copy Markdown
Member Author

As I see no objections here, and the title has been preserved (albeit as a H3), I'm going merge this now.

@StanFromIreland
StanFromIreland merged commit 568dd3d into python:main Sep 29, 2026
50 of 51 checks passed
@StanFromIreland
StanFromIreland deleted the add-issue-header.yml branch September 29, 2026 15:46
@StanFromIreland

Copy link
Copy Markdown
Member Author

@hugovk, I presume you want to backport for #158399?

@hugovk

hugovk commented Sep 29, 2026

Copy link
Copy Markdown
Member

We only need the file deletion and not the template changes, so let's do it as part of #158399.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants